Repository navigation
fix(scenarios): make every skill-evals arm directory under the system temp directory - #34949
Conversation
… temp directory prepareArmWorkdir took a defaulted base parameter, which the dispatch-gates scratch scan cannot bind, so its mkdtempSync site read UNRESOLVED and the slow tier of check:pm-dispatch-gates went red on main. The base is now spelled at the call; the self-test and the unit test remove the roots they make. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
📓 Docs Drift Check2 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 1 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin f313621e444d04936cb5bdaa6bc8e80e9e14dc3b && git checkout f313621e444d04936cb5bdaa6bc8e80e9e14dc3b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin c81f498b5f0614157864d9586da718dbe02121b1 324800fc44c4657c691bb5b8862df84a97cbe4af && git checkout -B drift-repro c81f498b5f0614157864d9586da718dbe02121b1 && git merge --no-ff 324800fc44c4657c691bb5b8862df84a97cbe4af
node scripts/docs-audit/affected-docs.mjs --json c81f498b5f0614157864d9586da718dbe02121b1 |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT · 2026-11-17T17:49ZHead-sha: 8f7faca 席位核对PR shape. The fix.
Before and after. The failing case is slow tier, which the PR's own Changeset. Check-runs at 8f7faca, read at about 17:50Z. 46 runs, none failed. Already Must-fixNone. Should-fixNone. Notes
Next: o3-F lands as soon as the three aggregates are green. No seat L2 is owed. A later push owes an L1-c delta read. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (merge-only) · 2026-11-17T18:23ZHead-sha: 324800f 席位核对A clean main merge. The new head is a merge commit:
The PR's own diff is unchanged. The patch-id of the diff from the merge-base to The hop reruns CI after a runner red. That red was not the PR's doing, as o3-F's relay records. The ACCEPT's condition stands: Must-fixNone. Should-fixNone. Next: unchanged from my ACCEPT 6956228121. A later push owes an L1-c delta read. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir Landing · area o3-F · 2026-11-17T18:47Z · P0 (main red in
State change: ready for review + auto-merge (merge queue). Card #34934 closes on merge via |
|
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir Re-queue · area o3-F · 2026-11-17T19:22Z · P0 · head |
|
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH Triage re-judgement after the second ejection (platform-readings: "a second ejection of the same PR → stop re-queueing, re-judge by signature") · 2026-11-17T20:38Z Signature: both ejections are the known infrastructure flake "Checkout repository timed out after 25 minutes".
Neither touches this PR's change. Head Verdict: this is a known flake, not this PR. Re-queue it as is, once more, citing this note as the receipt. No queue jump. If a third ejection lands with the same signature, it goes to the maintainer as an infrastructure problem, with no further re-queue. |
|
repo:objectstack#3 · os-support-ai · session_01WGufziH9rnXEpD9ne7yFhD Re-queue · area o3-F · 2026-11-17T20:41Z · P0 · head |
Requested by Yibo Wang · project thread
Fixes #34934
Clause-②: no
Metadata-protocol: none
维护者速读
mkdtempSync(join(tmpdir(), 'skill-eval-'))),去掉内部的base参数。base是带默认值的函数参数,dispatch-gates 的临时目录扫描读不出它,慢档自测判 UNRESOLVED,main 的Lint · PM dispatch-gates一直是红的。packages/qa/scenarios/src/skill-evals/arms.ts(唯一的行为改动处),再看test/skill-evals/skill-evals.test.ts的清理。node scripts/pm/check-dispatch-gates.mjs --slow,预期no mkdtempSync site in this tree takes a base the scan cannot read为 ✓、退出码 0。What changes
prepareArmWorkdir(arm, bundle, skillsRoot)makes its root withmkdtempSync(join(tmpdir(), 'skill-eval-')). The defaultedbaseparameter is removed. The scratch scan inscripts/pm/dispatch-gates.mjscannot bind a parameter default, and it fails the build on anymkdtempSyncsite whose base it cannot read. The only production caller (run.ts) never passed a base, so a round behaves exactly as before.--self-testrows already removedd.root. The vitest case now removes both roots in afinallyand checks that the root lands under the system temp directory.arms.tsandself-test.tsship inside the publisheddist/(theskill-evalscommand line). No export changes.Tests
Run at head
8f7facaa.pnpm --filter @objectstack/scenarios typecheck: exit 0.pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2 test/skill-evals/skill-evals.test.ts: Test Files 1 passed (1), Tests 26 passed (26). The lock printedVERDICT command-exit 0.pnpm skill-evals --self-test:✓ skill-evals self-test: 21 rows pass., exit 0.node scripts/check-nul-bytes.mjs: OK, exit 0.node scripts/pm/overlap-check.mjs:VERDICT clean exit 0. The branch merges cleanly onto origin/maind576509c80.Acceptance notes
pnpm check:pm-dispatch-gatesruns only the fast tier, and so does CI onpull_requestandmerge_group. That run was green on the unfixed tree:2249 cases pass; 9 slow section(s) deferred,GATE_EXIT=0. So the before and after readings below come from the scan itself and from--slow. This PR's own check-runs cannot show the fix. The next push to main or the next schedule run shows it.Verification
Before: unfixed tree at origin/main 189358f
exposedScratchDirs({})fromscripts/pm/dispatch-gates.mjs, the function the failing case calls):sites=3078 files=22703 inTree=93 exposed=0 unresolvedMkdtemp=1, thenUNRESOLVED packages/qa/scenarios/src/skill-evals/arms.ts:83 (base is not bound in this file). This is the main red.pnpm check:pm-dispatch-gateswith the default tier (fast):2249 cases pass; 9 slow section(s) deferred,GATE_EXIT=0. This reading is green because the failing case is deferred, see Acceptance notes.After: head 8f7faca
sites=3078 files=22703 inTree=93 exposed=0 unresolvedMkdtemp=0.node scripts/pm/check-dispatch-gates.mjs --self-test: green. Thenpnpm check:pm-dispatch-gates(fast tier):2249 cases pass,GATE_EXIT=0.node scripts/pm/check-dispatch-gates.mjs --slow(both tiers):✓ no mkdtempSync site in this tree takes a base the scan cannot read,✓ dispatch-gates self-test: 2564 cases pass.,the battery (both tiers) took 1651.8s,GATE_EXIT=0.Derived gate families (`dispatch-gates.mjs --commands`, 61)
node scripts/check-plugin-teardown-shape.mjs --self-test(shallow clone, the fixture is pinned to a commit) andpnpm check:dual-build-cjs-loads(needs a fullpnpm build).pnpm check:query-options-erasure: exit 0 on a rerun with a longer budget. The first run hit the 240 s cap.pnpm check:type-check-debt: in progress when this PR was opened. CI covers it.Generated by Claude Code
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir